package com.dd.shop4j.goods.model;



/**
 * goods_product - 产品
 * 
 * @author 唐小恕 2013-08-29
 * @version 1.0 
 */
public class GoodsProduct {
	/**
	 * int(0)
	 * 产品id
	 * 主键字段
	 * 字段不允许为空
	 */
	private Integer id;
	/**
	 * varchar(20)
	 * 货号
	 */
	private String code;
	/**
	 * int(0)
	 * 商品id
	 */
	private Integer goodId;
	/**
	 * int(0)
	 * 库存
	 */
	private Integer number;
	/**
	 * double(0)
	 * 价格
	 */
	private Double price;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getGoodId() {
		return goodId;
	}

	public void setGoodId(Integer goodId) {
		this.goodId = goodId;
	}

	public Integer getNumber() {
		return number;
	}

	public void setNumber(Integer number) {
		this.number = number;
	}

	public Double getPrice() {
		return price;
	}

	public void setPrice(Double price) {
		this.price = price;
	}

}